{layout name="../../admin/view/layout/main" /}
{:breadcrumb(['UI 示例:example/layout/index', '示例页面:example/pages/index', '搜索条件一'])}
<style>
    /*示例*/
    .w-120 {
        width: 120px;
    }
    .w-120-calc {
        width: -moz-calc(100% - 120px);
        width: -webkit-calc(100% - 120px);
        width: calc(100% - 120px);
        padding-right: 15px;
    }
    .col-md-offset-120 {
        margin-left: 120px;
    }
    @media (max-width: 768px) {
        .form-search .control-label {
            padding-top: 7px;
            margin-bottom: 0;
            text-align: right;
        }
    }
    @media (max-width: 360px) {
        .form-search .control-label,
        .form-search .w-120-calc{
            float: none!important;
            width: auto!important;
            padding-left: 15px;
        }
        .form-search .control-label {
            margin-bottom: 5px;
        }
    }
    
    /*搜索条件二*/
    .has-feedback {
        position: relative;
    }
    .has-feedback .form-control {
        padding-right: 42.5px;
    }
    .form-control-feedback {
        position: absolute;
        top: 0;
        right: 0;
        z-index: 2;
        display: block;
        width: 38px;
        height: 38px;
        line-height: 38px;
        text-align: center;
        pointer-events: none;
    }
    </style>
    <div class="row">

        <div class="col-lg-12">
          <div class="card">
           
            <div class="card-body">
            
              <p>特别多搜索条件时，也可将所有搜索条件放到 <code>card-body</code> 中。</p>
            <form action="#!" method="post" class="form-search">
              
              <div class="row">
                <div class="col-md-4">
                  <div class="mb-3 clearfix">
                    <label class="w-120 float-start col-form-label"><span class="text-danger">*</span> 任务名称</label>
                    <div class="float-start w-120-calc">
                      <input type="text" class="form-control pull-left" name="name" value="" placeholder="请输入任务名称" />
                    </div>
                  </div>
                </div>
                <div class="col-md-4">
                  <div class="mb-3 clearfix">
                    <label class="w-120 float-start col-form-label"><span class="text-danger">*</span> 任务类型</label>
                    <div class="float-start w-120-calc">
                      <select name="type" class="form-select" id="type">
                        <option value="1">小说</option>
                        <option value="2">古籍</option>
                        <option value="3">专辑</option>
                        <option value="4">自传</option>
                      </select>
                    </div>
                  </div>
                </div>
                <div class="col-md-4">
                  <div class="mb-3 clearfix">
                    <label class="w-120 float-start col-form-label">任务描述</label>
                    <div class="float-start w-120-calc">
                      <input type="text" class="form-control pull-left" name="name" value="" placeholder="任务描述" />
                    </div>
                  </div>
                </div>
                <div class="col-md-4">
                  <div class="mb-3 clearfix">
                    <label class="w-120 float-start col-form-label"><span class="text-danger">*</span> 责任人</label>
                    <div class="float-start w-120-calc">
                      <input type="text" class="form-control pull-left" name="name" value="" placeholder="责任人" />
                    </div>
                  </div>
                </div>
                <div class="col-md-4">
                  <div class="mb-3 clearfix">
                    <label class="w-120 float-start col-form-label"><span class="text-danger">*</span> 提醒时间</label>
                    <div class="float-start w-120-calc">
                      <input class="form-control" type="text" name="example-datepicker" data-provide = 'datepicker' placeholder="yyyy-mm-dd" value="" date-date-format="yyyy-mm-dd" data-autoclose="true" />  
                    </div>
                  </div>
                </div>
                <div class="col-md-4">
                  <div class="mb-3 clearfix">
                    <label class="w-120 float-start col-form-label">执行人</label>
                    <div class="float-start w-120-calc">
                      <select name="type" class="form-select">
                        <option value="1">马小云</option>
                        <option value="2">马小腾</option>
                        <option value="3">张小阳</option>
                        <option value="4">唐小磊</option>
                      </select>
                    </div>
                  </div>
                </div>
              </div>
              
            </form>
            
            </div>
          </div>
      </div>
      
      <div class="col-lg-12">
        <div class="card">
          <div class="card-header">搜索条件二</div>
          <div class="card-body">
            
            <div class="row clearfix my-search-box">
              <form action="#!" method="post" class="col-sm-7 col-md-6">
                <div class="row gy-2 gx-3 align-items-center">
                  <lable class="col-auto">起始时间：</lable>
                  <div class="col-auto">
                    <div class="input-group">
                      <select name="type" class="form-select">
                        <option value="2020">2020</option>
                        <option value="2019">2019</option>
                        <option value="2018">2018</option>
                        <option value="2017">2017</option>
                      </select>
                      <span class="input-group-text">年</span>
                    </div>
                  </div>
                  <div class="col-auto">
                    <div class="input-group">
                      <select name="type" class="form-select">
                        <option value="1">1</option>
                        <option value="2">2</option>
                        <option value="3">3</option>
                        <option value="4">4</option>
                        <option value="5">5</option>
                        <option value="6">6</option>
                        <option value="7">7</option>
                        <option value="8">8</option>
                        <option value="9">9</option>
                        <option value="10">10</option>
                        <option value="11">11</option>
                        <option value="12">12</option>
                      </select>
                      <span class="input-group-text">月</span>
                    </div>
                  </div>
                  <div class="col-auto">
                    <div class="input-group">
                      <select name="type" class="form-select">
                        <option value="1">1</option>
                        <option value="2">2</option>
                        <option value="3">3</option>
                        <option value="4">4</option>
                        <option value="5">5</option>
                        <option value="6">6</option>
                        <option value="7">7</option>
                        <option value="8">8</option>
                        <option value="9">9</option>
                        <option value="10">10</option>
                      </select>
                      <span class="input-group-text">日</span>
                    </div>
                  </div>
                </div>
              </form>
              <div class="col-sm-5 col-md-6">
                <div class="mb-3 has-feedback mb-0">
                  <input class="form-control" type="text" name="keywords" value="" />
                  <span class="mdi mdi-magnify form-control-feedback" aria-hidden="true"></span>
                </div>
              </div>
            </div>
            
          </div>
        </div>
      </div>
  
    </div>